﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using Model;



namespace Contracts
{
    [ServiceContract]
    public interface IProjectBService
    {
        //Operation for Department
        
        [OperationContract]
        List<Model.Department> GetAllDepartment();

        [OperationContract]
        List<Model.Department> GetDepartment(Model.Department departmentInstance);

        [OperationContract]
        bool InsertDepartment(Model.Department departmentInstance);

        [OperationContract]
        bool DeleteDepartment(Model.Department departmentInstance);

        [OperationContract]
        bool UpdateDepartment(Model.Department departmentInstance);

        //[OperationContract]
        //IProjectBService CreateTeacherRepository();

        

        //Operation for Teacher
        [OperationContract]
        List<Model.Teacher> GetAllTeacher();

        [OperationContract]
        List<Model.Teacher> GetTeacher(Model.Teacher teacherInstance);

        [OperationContract]
        bool InsertTeacher(Model.Teacher teacherInstance);

        [OperationContract]
        bool DeleteTeacher(Model.Teacher teacherInstance);

        [OperationContract]
        bool UpdateTeacher(Model.Teacher teacherInstance);

        //[OperationContract]
        //IProjectBService CreateDepartmentRepository();
        

        //Operation for MultiTable
        


    }

}
